package com.cg.vo;

import com.cg.entity.Role;
import com.cg.entity.Source;

import java.util.List;

/**
 * @ClassName LoginUserVo
 * @Description TODO
 * @Author CG
 * @Date 2024/1/14 20:27
 **/
public class LoginUserVo {
    private Integer userId;
    private String userName;
    private String loginName;
    private String password;
    private String token;
    private String slat;
    private List<Role> roleList;//角色列表
    private List<SourceVo> sourceVoList;//菜单权限的列表
    private List<Source> sourceList;//所有的权限

    public String getSlat() {
        return slat;
    }

    public void setSlat(String slat) {
        this.slat = slat;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public List<SourceVo> getSourceVoList() {
        return sourceVoList;
    }

    public void setSourceVoList(List<SourceVo> sourceVoList) {
        this.sourceVoList = sourceVoList;
    }

    public List<Source> getSourceList() {
        return sourceList;
    }

    public void setSourceList(List<Source> sourceList) {
        this.sourceList = sourceList;
    }
}
